package com.ruoyi.event.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "wx.miniapp")
public class WxMiniAppConfig {
    private String appid;
    private String secret;
    private String jscode2session;
    private String phoneDecodeMode;

    // getter和setter
    public String getAppid() { return appid; }
    public void setAppid(String appid) { this.appid = appid; }
    public String getSecret() { return secret; }
    public void setSecret(String secret) { this.secret = secret; }
    public String getJscode2session() { return jscode2session; }
    public void setJscode2session(String jscode2session) { this.jscode2session = jscode2session; }
    public String getPhoneDecodeMode() { return phoneDecodeMode; }
    public void setPhoneDecodeMode(String phoneDecodeMode) { this.phoneDecodeMode = phoneDecodeMode; }
}